From: Florian Müllner Date: Tue, 20 Feb 2024 12:12:43 +0000 (+0100) Subject: userWidget: Stop expand flags from propagating X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~1^2~43 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e1c454bd2197d4222433ed447303cd79bf60775e;p=gnome-shell.git userWidget: Stop expand flags from propagating Since commit 9c2da01a9, the avatar's child is expanded to account for the new St.Bin behavior. However as expand flags are propagated up, this now results in avatar actor getting unintentionally expanded in places like the end-session dialog. Stop this by explicitly setting the avatar actor to not expand. Part-of: --- diff --git a/js/ui/userWidget.js b/js/ui/userWidget.js index 1fcde34e4..b29dfa68e 100644 --- a/js/ui/userWidget.js +++ b/js/ui/userWidget.js @@ -31,6 +31,8 @@ class Avatar extends St.Bin { reactive: params.reactive, width: params.iconSize * themeContext.scaleFactor, height: params.iconSize * themeContext.scaleFactor, + x_expand: false, + y_expand: false, }); this._iconSize = params.iconSize;